<?php
$countries = Country::getCountries();
$selected = $post['country'];
if (empty($selected)) {
    $selected = '412'; // New Zealand
}
$options = array('selected' => $selected);
$countryOptions = $db->process($countries, 'Html::option', $options);
?>
